package ace.module.account.core.impl.dao.repository;

import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.account.core.impl.constant.AccountCoreConstant;
import ace.module.account.core.impl.dao.entity.IamAccountTag;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Repository;

/**
* 账户标签 repository.
*
* @author Caspar
*/
@DS(AccountCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface IamAccountTagRepository extends QuerydslJdbcBaseRepository<IamAccountTag,Long> {

  IamAccountTag getByIamAccountIdAndKey(Long accountId, String key);
}
